// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from "@/utils/request.js";

/**
 * 根据订单编号获取订单相关信息
 * 
 */
export function getOrderByOrderNo(data) {
	return request.get('user/get_order_by_order_no', data, {
		noAuth: true
	});
}

/**
 * 根据订单编号获取订单相关信息
 * 
 */
export function getWarrantyCertificate(data) {
	return request.post('user/claim_warranty_certificate', data);
}

/**
 * 我的质保单列表
 * 
 */
export function getWarrantyList(data) {
	return request.get('user/get_my_warranty_certificate_list', data);
}